package com.by.wx.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.by.wx.entity.PhoneCode;

public interface PhoneSmsDao {

	List<PhoneCode> findCreatePhoneSmsByMimutes(@Param("phone") String phone, @Param("lim") int lim);

	List<PhoneCode> findCreateAliyunPhoneSmsByMimutes(@Param("phone") String phone, @Param("lim") int lim);

	List<PhoneCode> dofindAliyunSmsByphone(String phone);

	List<PhoneCode> doFindCheckVerifyCodeByOpenid(String openid);

	List<PhoneCode> findHistoryPhoneSmsByOpenid(@Param("openid") String openid, @Param("lim") int lim);

	// int insertSmsCodeByPhone(@Param("phone") String phone, @Param("phone")
	// String rod);

}
